<template>
	<view>
		<aboutus v-if="component == 'aboutus'"></aboutus>
		<feedback v-if="component == 'feedback'"></feedback>
		<enterprice v-if="component == 'enterprice'"></enterprice>
	</view>
</template>

<script>	
import aboutus from '../../components/aboutus.vue'
import enterprice from '../../components/enterprice.vue'
import feedback from '../../components/feedback.vue'

export default {
	components:{aboutus,enterprice,feedback},
	data() {
		return {
			component:'enterprice'
		};
	},
	onLoad(option) {
		console.log(option)
		this.component = option.info;
	}
}
</script>

<style lang="scss" scoped>

</style>
